package com.isoft.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("AIRPORT.SYSLOG")
public class SysLogContent {
    private Long id ;
    private String desc;
    private String systype ;
    private String oprtype;
    private String requesturl;
    private String method;
    private String ipaddress;
    private int logtype ;         // 0正常 ， 1异常
    public static final int LOGTYPE_NORMAL = 0 ;
    public static final int LOGTYPE_EXCEPTION = 1 ;

    private String dodt ;

    @Override
    public String toString() {
        return "SysLogContent{" +
                "id=" + id +
                ", desc='" + desc + '\'' +
                ", systype='" + systype + '\'' +
                ", oprtype='" + oprtype + '\'' +
                ", requesturl='" + requesturl + '\'' +
                ", method='" + method + '\'' +
                ", ipaddress='" + ipaddress + '\'' +
                ", logtype=" + logtype +
                ", dodt='" + dodt + '\'' +
                '}'+'\n';
    }
}